package com.springcloud.consumercourse;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author
 * @create 2020-11-07 14:36
 */
//开启熔断
@EnableHystrix
//openFeign注解
@EnableFeignClients
//eureka客户端的注解
@EnableEurekaClient
@SpringBootApplication
public class ComsumerCourseApplication8888 {

    public static void main(String[] args) {
        SpringApplication.run(ComsumerCourseApplication8888.class,args);
    }
}
